import request from "@/utils/request";

// 查询客户推送日志列表
export function listBizPushCustomer(query) {
  return request({
    url: "/biz/bizPushCustomer/list",
    method: "get",
    params: query,
  });
}

// 查询客户推送日志详细
export function getBizPushCustomer(id) {
  return request({
    url: "/biz/bizPushCustomer/" + id,
    method: "get",
  });
}

// 新增客户推送日志
export function addBizPushCustomer(data) {
  return request({
    url: "/biz/bizPushCustomer",
    method: "post",
    data: data,
  });
}

// 修改客户推送日志
export function updateBizPushCustomer(data) {
  return request({
    url: "/biz/bizPushCustomer",
    method: "put",
    data: data,
  });
}

// 删除客户推送日志
export function delBizPushCustomer(id) {
  return request({
    url: "/biz/bizPushCustomer/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizPushCustomer/findMaxSort",
    method: "get",
  });
}
// 导出客户推送日志
export function exportBizPushCustomer(query) {
  return request({
    url: "/biz/bizPushCustomer/export",
    method: "get",
    params: query,
  });
}
